Just like India,almost all of the Muslim countries were(barring very few such as Iran,Turkey & parts of Saudi ) colonized either by british or french. Their sorry state is primarily attributble to this colonial past. I request you to have a longer memory of the world we live in.It is Islam which gave the 'West' the real civilizational values which it now boasts of. You can read that history from the authentic western outlets itself.
For example check the american government funded Public Broadcasting Service channel - PBS
PBS-Islam - Empire of Faith
pbs.org/empires/islam/innomedicine.html
You can watch some clips here pbs.org/empires/islam/features.html
As to the history of why Muslim countries lost the pace-Check the Yale univeristy online journal on 'How Islam Won, and Lost, the Lead in Science'