This flag won a nationwide poll in 1949, but some changes were made to it afterwards, leading to the Malaysian flag we know today. The reason for these changes seems somewhat unclear, more than that the politician Onn Jaafar suggested them.
The proposal was inspired by the flag of the Malaysian state Johor:
Source: Wikipedia
Much nicer