Two individual defensive errors and a Danny Graham strike were enough to condemn West Ham to their first defeat of the season in the early kick-off at the Liberty Stadium.