You can't it. It's been like this since iOS 4. Let me explain:
It's not really a "multitasking bar" but a fast-app switcher. Only some of the apps you see in the bar are actually running, but others are closed and only their icon remains on the bar.
To remove/close apps, just hold down their icon on the bar and click the red "minus" button.