True, this is a big part of it. However to calculate return people should also consider the dividends that Microsoft has been paying out as well (for longer than many competitors).
Starting on Jan 23rd 2009 (which is when the chart you linked to starts for me) an investment of just under $10K (with reinvested dividends) would leave you with just over $30k today [1] which is honestly not a bad return.
[1] http://www.microsoft.com/investor/Stock/StockSplit/stockcalc...