You can use an interactive rebase (using the -i) argument, and delete the hashes of the commits that you wish to remove.
Providing you have not pushed your changes to a shared repository yet. Find more information here: *http://git-scm.com/book/en/Git-Tools-Rewriting-History*
e.g. git rebase -i 22782e08
That should be fine, remember any commit id that is deleted in the interactive script window will be removed, if you wish to abort, delete ALL the commits from the script. There will be on screen instructions regarding this.
Out of interest, why are you deleting them? The graph looks fine to me, if you're doing it for tidiness reasons.