What have been the best stocks to own in this new millennium, by all accounts the most Britney-filled of all the millennia on record so far? And what, if anything, can we learn by simply running a couple of quick computer screens to find the answer?

The results are different from any predictions that I recall seeing or hearing when we said goodbye to the old millennium, which, for the purposes of this column and acknowledging arguments to the contrary, we'll assume ended on Dec. 31, 1999. This was supposed to be the decade, century, and millennium of Internet shopping, online brokers, biotech, renewable fuels, regenerating limbs, and every other visionary departure from the mundane and antiquated mechanisms that got us through the dark and uneducated times known as the 20th century.

The runners-up ...
In terms of what companies have grown sales the most this century, a lot of those forward-looking companies have indeed been awesome. Unfortunately, they haven't been nearly awesome enough to translate into rewards for late 1999 purchasers of their stocks. Just take a look at the return from these companies that have grown sales by more than 30% annually for the past seven years and had sales of at least $200 million already in 1999.

Company

Total Revenue Seven-
Year CAGR

Total Revenue
1999

Stock Price Change
Since

Amazon.com

37.1%

$1.64 billion

(59.9%)

Broadcom (NASDAQ:BRCM)

40.4%

$521 million

(71.3%)

EchoStar Communications (NASDAQ:DISH)

33.8%

$1.60 billion

(31.2%)

TD Ameritrade Holdings (NASDAQ:AMTD)

30.8%

$327.1 million

(21.7%)

Yahoo! (NASDAQ:YHOO)

47.7%

$591.8 million

(74.0%)

Data from Capital IQ, a division of Standard & Poor's.

These companies are by no means failures. Look at those compounded seven-year growth rates! Amazon, Ameritrade, and Yahoo!, for example, have succeeded in building impressive businesses. Nevertheless, by the time the end of 1999 rolled around, they had expectations embedded in their prices that required even more growth than they achieved.

And the winners are .
So what has done well this millennium? Done well? Forget that! What's done the best?

I ran a screen for the best-performing stocks of the millennium, with the caveat that they had to have share prices of $5 or more at market close on Dec. 31, 1999.

At the very top of the list were the cyclical heroes of the millennium so far -- homebuilders and energy stocks -- and some pharmaceutical wonders. If you could have predicted that interest rates were going to get as low as they did, you could have had an inkling of the strength that the homebuilding stocks would enjoy.

But you'll also see some big winners you may never have heard of, including Middleby, the best-performing stock of the millennium. Take a look.

Company

Year Founded

Product

1999 Market Cap

Price Change This Millennium

Middleby

1888

Ovens

$57 million

1,266%

National Healthcare

1980

Management of long-term health-care facilities

$60 million

820%

Precision Castparts (NYSE:PCP)

1971

Metal castings and fasteners

$643 million

770%

Itron (NASDAQ:ITRI)

1977

Software for data forecasting for utilities

$91 million

768%

ITT (NYSE:ESI)

1946

Post-secondary education

$381 million

764%

Quest Diagnostics

1967

Diagnostic testing for health care

$1.32 billion

726%

Data from Capital IQ.

Other industries represented on the list of 42 companies that passed the screen of returning at least 600% included slot machines, pork processing, pool supplies, and wire manufacturing.

There's nothing special about those results or this particular time frame -- the same thing would be shown in nearly any randomly chosen longer-term time-frame -- including 50- or 60-year periods. When Jeremy Siegel set out to study what companies had been the best investments out of the original S&P 500 lineup over the period from 1957 to 2003, he found the No. 2 and 3 companies started out as producers of glass and cans.

The Foolish bottom line
What many of the Millennial Winners have in common is that they were small, established, profitable companies producing things that had worked for decades ... largely ignored things ... things that don't usually create headlines or dreams of quick riches.

Of course, that's the point. The better-performing companies of nearly any time period are going to be the ones that don't have fanciful expectations built into their stock prices, but rather have a demonstrated history of being able to succeed as tastes, technologies, and markets change.

These are the kinds of companies we look for in Motley Fool Hidden Gems: Small, ignored companies doing unappreciated, profitable things. It's worked out so far with Middleby -- the best-performing non-cyclical stock of the millennium so far. It was one of our earliest recommendations, and it's produced total average returns of 32%, versus 17% for the S&P 500.

If you'd like to learn more about our service, a free, no-risk 30-day guest pass to Hidden Gems is yours for the taking.

Bill Barker does not own any stocks mentioned in this article. Amazon.com and Yahoo! are Stock Advisor recommendations. The Motley Fool has a disclosure policy.