Let G be a totally disconnected, locally compact group admitting a contractive automorphism α. We prove a Jordan-Hölder theorem for series of α-stable closed subgroups of G, classify all possible composition factors and deduce consequences for the structure of G.