Crystal Palace made it five wins in a row as Mile Jedinak converted from the penalty spot to secure a 1-0 victory over West Ham United at Upton Park.