One reason your cookies may crumble could be that they are underbaked. Since cooking times may vary, you may need to add a couple more minutes. They're typically done when the edges turn golden brown and the centers are set. Another reason could be that you moved the cookies before they'd cooled enough. Make sure you allow them to cool for a few minutes on your baking sheet before transferring them to a wire rack to finish cooling.