A 1971 conjecture of Graham (later repeated by Erdős and Graham) asserts that every set A⊆Fp∖{0} has an ordering whose partial sums are all distinct. We prove this conjecture for sets of size ∣A∣⩽e(logp)1/4; our result improves the previous bound of logp/loglogp. One ingredient in our argument is a structure theorem involving dissociated sets, which may be of independent interest.