You could try to tools that are availabe for converting gpx to osm which you then import into postgis and render with mapnik. Not really sure what is wronf with the gpx to shape solution, it should be the same as ugin postgresql