With the second decade of this century coming to a close, here's a roundup of the top 5 stocks with the highest total return over the past 20 years. We've chosen these stocks out of the S&P 500, which is comprised of 505 of the biggest companies in the U.S. market. These stocks rose dramatically faster than the S&P 500, which had a 255% total return during the same period. All numbers are as of 12/23/19.

The stocks on this list surprised us because it included unexpected names and excluded many big names. Be careful with investing in these companies. While all of them produced massive returns, the forces that fueled their growth may not continue into this decade. For example, there are signs that the shale oil boom that boosted HollyFrontier is slowing. The companies on this list show that it's very hard to predict what companies will be winners years from now.

Here are the Top 5 Best-Performing Stocks of the last 20 years.

1. Monster Beverage Corp (MNST)

20-Year Trailing Total Return: 87,560%

The maker of aggressively branded energy drinks such BURN and Full Throttle, in addition to its eponymous Monster brand, Monster Beverage Corporation (MNST) has risen from surprisingly un-extreme beginnings. Before it changed its name to Monster Energy, Hansen Natural Corporation started in the 1930's selling fresh fruit juice, eventually expanding to selling iced tea and natural sodas . In a radical departure from its previous products, in 2002 it launched Monster, "the meanest energy drink on the planet," which is not recommended "for children, people sensitive to caffeine, pregnant women, or women who are nursing ." Sales exploded from $92 million in 2002 to more than $2 billion in 2012  . Monster was driving 90% of their sales by the time they changed their name to Monster Energy in the beginning of 2012  . It just goes to show, it's never too late to turn around your image.

2. Tractor Supply Co. (TSCO)

20-Year-Trailing Total Return: 45,750%

Tractor Supply Co. (TSCO) is a retail store targeting a very specific market: people who farm as a hobby instead of to make a living. The number of these farms, alternately referred to as hobby farms, lifestyle farms, or residential farms, has grown enormously in the past decades. The number of residential farms outside of large cities doubled from the end of 2008 to the end of 2013. As of the most recent department of agriculture census, 38% of all farms -- the largest category -- had owners whose primary occupation is other than farming. By focusing directly on this market, Tractor Supply Co. has managed to grow despite the continual headwinds against retailers in the past 20 years.

3. Old Dominion Freight Lines Inc.

20-Year-Trailing Return: 13,340%

Old Dominion Freight Lines is a freight trucking company specializing in small "less than truckload" (LTL) shipments. Its growth hasn't been driven by any special trend or major rebranding like Monster or Tractor, but has just been an exceptionally well-run business. It has substantially increased its operating ratio, a margin of expenses to sales showing a business's efficiency, from just over 90% in 2006, to under 80% in 2018 . It has managed to increase its percentage of on-time deliveries from 94% in 2002, to 99% in 2018 . The company has seen a 12.7% annual growth rate in revenue over the past 21 years, expanding their LTL market share from 2.9% in 2002, to 10% in 2018. .

4. HollyFrontier Corp.

20-Year-Trailing Return: 11,810%

HollyFrontier Corp. is an oil refining company that was formed from the Holly and Frontier refining companies in 2011. It owns and operates five large refineries in Wyoming, Utah, Kansas, Oklahoma, and New Mexico. It has had a significant location advantage over other refiners, such as those on the east and gulf coasts, because its refineries are close to the locations of booming U.S. shale operations. In the past decade, advances in hydraulic fracturing (fracking) technology have greatly increased U.S. oil production, which more than doubled from 2008 to 2018. Two major centers of this shale boom have been in the Bakken fields in North Dakota, and the Permian and Eagle Ford shale formations in Texas, near HollyFrontier's refineries .

5. Altria Group Inc.

20-Year-Trailing Return: 9,620%

Altria Group is the rebranded name for Phillip Morris, maker of tobacco products such as Marlboro cigarettes. In 2003, it changed its name to Altria Group and spun off its international operations as Phillip Morris International in 2008 . Part of Altria's growth was from before it spun off its international business, returning 2,340% between the end of 1999 and March 2008. That year, the two companies split as sales rose in international markets. However, since the split, Altria has actually outperformed Phillip Morris International, returning 328% versus Phillip Morris International's 190%, according to YCharts . Altria's pulled ahead in 2014 when Phillip Morris International's sales started to fall. Though the number of cigarettes Altria sold had been falling since 2009, they had implemented a host of cost-cutting measures and price-increases to offset this, their profits rose even as sales fell. With more consumers favoring e-cigarettes, Altria is relying on its sizable stake in e-cigarette maker Juul, and a joint venture with Phillip Morris International to produce a product that heats, but doesn't burn tobacco, called IQOS .