To compile things means to collect a variety of them into a group.
She compiled a list of people who she wanted to attend her birthday party.
Example picture