I succeeded in getting a google static map displaying a path between 2 coordinates.
The problem is that the drawn path is just a straight line between the 2 points.<
I think you cannot use this functionnality with the staticmap api. However you can use Directions with the JavaScript API V3.