Try a full clean tank of a quality fuel like Shell 93 and put a full bottle of Techron in. I've used this in all my vehicles for years now and you'll be amazed the difference.
If after running through a full tank, you might need to use a second bottle if things were really dirty. It's amazing how dirty fuel injectors can really get.
Same stuff that your BMW dealer sells and will put in your car...