Your brokerage should be able to provide you with a realized gain/loss report, broken down into long term and short term.
Drop in the the total sales, cost basis, and gain or lost on the proper section of schedule D on your 1040, put "various" in both date fields. Then attach the brokerage reports to your 1040. You can't e-file if you do it this way.