Shortening the driver serves mainly for those who rarely can find a sweetspot. If this is OP's main fault -- it's certainly the best advice. If he does not miss sweetspot very often but sprays shots it will not help much.
Cheers
Dear Manzella Forum members this is exactly the reason why, in Brian's no more swing video thread, that he said no more swing videos because of posts just like this (however this applies to fitting).
Dariusz while you aren't 100% wrong as shortening any shaft
can lead to hitting the sweetspot more often for ANY club there is no guarantee of it.
However i can guarantee you that shortening your driver a full inch will lower your swing speed by SEVERAL mph which will lower your ball speed by SEVERAL mph and thus, all launch conditions stay equal, you will hit it SHORTER.
Shortening your driver 1/2" to 1" is the easiest way with no other changes, even ignoring my swing slower suggestion, to reduce your distance because you will end up swinging slower.
Due to Dariusz comment though if you are THAT bad of a driver of the ball, shortening the driver might actually INCREASE your "average" driving distance because you will be consistently hitting the sweetspot more often but if that isn't you don't worry about it.